# str.replace('原生字符串','替换的内容')

str = 'hello world'

print(str.replace('world', 'python'))